﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Paperless.Entities
{
    public class Document : Entity
    {
        public string Name { get; set; }
        public string Email { get; set; }
        public long LocationId { get; set; }
        public string DocName { get; set; }

        public string Path { get; set; }

        public bool IsReview { get; set; }

        public long? TransactionId { get; set; }
        public virtual Transaction Transaction { get; set; }
        public virtual Location Location { get; set; }
        public long? CategoryId { get; set; }
        public virtual Category Category { get; set; }

        public virtual ICollection<Comment> Comments { get; set; }
    }
}